package modell;

import javax.media.j3d.BoundingSphere;
import javax.media.j3d.Transform3D;
import javax.media.j3d.TransformGroup;
import javax.vecmath.Vector3f;

import com.sun.j3d.utils.geometry.Sphere;

public class DummySphere extends TransformGroup {
	private Transform3D t = null;
	private Sphere sphere = null;
	
	public DummySphere(float x, float y, float z) {
		this.t = new Transform3D();
		this.t.setTranslation(new Vector3f(x, y, z));
		this.setTransform(t);
		this.sphere = new Sphere(2.5f, new DummyApperance(1.0f, 0.0f, 0.0f));
		this.sphere.setBounds(new BoundingSphere());
		this.addChild(this.sphere);
		this.setCapability(TransformGroup.ENABLE_PICK_REPORTING);
	}
}
